<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //语法：{属性名：属性值,属性名：属性值.....}
        //属性名可加引号可不加，特殊名字必须加引号
        var obj = {};
       /* obj.name = "顺无可";
        console.log(obj.name);*/
        var obj2 = {name:"猪扒接",age:"13"};
        console.log(obj2);
    </script>
</head>
<body> 
    
</body>
</html>